package com.mrsad.view;

import java.awt.BorderLayout;
import java.awt.Color;

public class DecoratorCapLightView extends LightView {
	private LightView lightView;

	public DecoratorCapLightView(LightView lightView) {
		super();
		this.lightView = lightView;		
		this.setLayout(new BorderLayout());
		this.add("North",new BarView(Color.MAGENTA));
		this.add("Center",lightView);		
	}
}